package com.pojo;

import java.io.Serializable;

public class RightClassTwo implements Serializable {

    private Integer rightId;    //权限id
    private String rightName;   //权限名
    private Integer rightSuperId;   //父级权id
    private String url;     //地址
    private String describe;    //权限描述

    public Integer getRightId() {
        return rightId;
    }

    public void setRightId(Integer rightId) {
        this.rightId = rightId;
    }

    public String getRightName() {
        return rightName;
    }

    public void setRightName(String rightName) {
        this.rightName = rightName;
    }

    public Integer getRightSuperId() {
        return rightSuperId;
    }

    public void setRightSuperId(Integer rightSuperId) {
        this.rightSuperId = rightSuperId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public RightClassTwo(Integer rightId, String rightName, Integer rightSuperId, String url, String describe) {
        this.rightId = rightId;
        this.rightName = rightName;
        this.rightSuperId = rightSuperId;
        this.url = url;
        this.describe = describe;
    }

    public RightClassTwo() {
    }

    @Override
    public String toString() {
        return "Right{" +
                "rightId=" + rightId +
                ", rightName='" + rightName + '\'' +
                ", rightSuperId=" + rightSuperId +
                ", url='" + url + '\'' +
                ", describe='" + describe + '\'' +
                '}';
    }
}
